﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Menfram.Implementation.DAL;
using Menfram.Common;

namespace AplicacaoExemplo
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            String url = "Data Source=localhost ;Initial Catalog=DIOCESE;Persist Security Info=true;User ID=sa; Pwd=windows2000";
          //  PostgreDAO dao = new PostgreDAO();
            SQLDAO sqlDao = new SQLDAO();

            PostgreDAO dao = new PostgreDAO();
            sqlDao.ConnectionUrl = url;

            Constantes.Conexao = dao;

            Application.Run(new IU.ManterBairro.frmBuscaAvancadaBairro());
        }
    }
}
